package com.example.shop_front_api.service;

import com.example.shop_front_api.entity.Members;

public interface MembersService {
    public int insertMembers(Members members);
    public Members getMembersByUsername(String username);

    public int updatePassword(String username, String password);
    public int updatePayPassword(int id, String payPassword);

    public Members getMembersById(int id);

    //根据用户名查询账号信息
    public Members getMembersByMobile(String mobile);
    //更新手机号码
    public int updateMobile(int id, String mobile);


}
